CVE-2021-47055
mtd: require write permissions for locking and badblock ioctls
Description
In the Linux kernel, the following vulnerability has been resolved: mtd: require write permissions for locking and badblock ioctls MEMLOCK, MEMUNLOCK and OTPLOCK modify protection bits. Thus require write permission. Depending on the hardware MEMLOCK might even be write-once, e.g. for SPI-NOR flashes with their WP# tied to GND. OTPLOCK is always write-once. MEMSETBADBLOCK modifies the bad block table.
INFO
Published Date :
Feb. 29, 2024, 11:15 p.m.
Last Modified :
Jan. 9, 2025, 3:34 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the Linux kernel to a patched version.
- Reboot the system after the kernel update.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-47055
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-47055
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-47055
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-47055
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-47055
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jan. 09, 2025
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NIST CWE-667 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.4.233 up to (excluding) 4.4.269 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.9.233 up to (excluding) 4.9.269 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.14.194 up to (excluding) 4.14.233 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.19.139 up to (excluding) 4.19.191 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.4.58 up to (excluding) 5.4.119 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.9 up to (excluding) 5.10.37 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.11.21 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.12 up to (excluding) 5.12.4 Changed Reference Type https://git.kernel.org/stable/c/077259f5e777c3c8821f6b41dee709fcda27306b No Types Assigned https://git.kernel.org/stable/c/077259f5e777c3c8821f6b41dee709fcda27306b Patch Changed Reference Type https://git.kernel.org/stable/c/077259f5e777c3c8821f6b41dee709fcda27306b No Types Assigned https://git.kernel.org/stable/c/077259f5e777c3c8821f6b41dee709fcda27306b Patch Changed Reference Type https://git.kernel.org/stable/c/1e97743fd180981bef5f01402342bb54bf1c6366 No Types Assigned https://git.kernel.org/stable/c/1e97743fd180981bef5f01402342bb54bf1c6366 Patch Changed Reference Type https://git.kernel.org/stable/c/1e97743fd180981bef5f01402342bb54bf1c6366 No Types Assigned https://git.kernel.org/stable/c/1e97743fd180981bef5f01402342bb54bf1c6366 Patch Changed Reference Type https://git.kernel.org/stable/c/5880afefe0cb9b2d5e801816acd58bfe91a96981 No Types Assigned https://git.kernel.org/stable/c/5880afefe0cb9b2d5e801816acd58bfe91a96981 Patch Changed Reference Type https://git.kernel.org/stable/c/5880afefe0cb9b2d5e801816acd58bfe91a96981 No Types Assigned https://git.kernel.org/stable/c/5880afefe0cb9b2d5e801816acd58bfe91a96981 Patch Changed Reference Type https://git.kernel.org/stable/c/75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37 No Types Assigned https://git.kernel.org/stable/c/75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37 Patch Changed Reference Type https://git.kernel.org/stable/c/75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37 No Types Assigned https://git.kernel.org/stable/c/75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37 Patch Changed Reference Type https://git.kernel.org/stable/c/7b6552719c0ccbbea29dde4be141da54fdb5877e No Types Assigned https://git.kernel.org/stable/c/7b6552719c0ccbbea29dde4be141da54fdb5877e Patch Changed Reference Type https://git.kernel.org/stable/c/7b6552719c0ccbbea29dde4be141da54fdb5877e No Types Assigned https://git.kernel.org/stable/c/7b6552719c0ccbbea29dde4be141da54fdb5877e Patch Changed Reference Type https://git.kernel.org/stable/c/9625b00cac6630479c0ff4b9fafa88bee636e1f0 No Types Assigned https://git.kernel.org/stable/c/9625b00cac6630479c0ff4b9fafa88bee636e1f0 Patch Changed Reference Type https://git.kernel.org/stable/c/9625b00cac6630479c0ff4b9fafa88bee636e1f0 No Types Assigned https://git.kernel.org/stable/c/9625b00cac6630479c0ff4b9fafa88bee636e1f0 Patch Changed Reference Type https://git.kernel.org/stable/c/a08799d3e8c8088640956237c183f83463c39668 No Types Assigned https://git.kernel.org/stable/c/a08799d3e8c8088640956237c183f83463c39668 Patch Changed Reference Type https://git.kernel.org/stable/c/a08799d3e8c8088640956237c183f83463c39668 No Types Assigned https://git.kernel.org/stable/c/a08799d3e8c8088640956237c183f83463c39668 Patch Changed Reference Type https://git.kernel.org/stable/c/f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf No Types Assigned https://git.kernel.org/stable/c/f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf Patch Changed Reference Type https://git.kernel.org/stable/c/f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf No Types Assigned https://git.kernel.org/stable/c/f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf Patch Changed Reference Type https://git.kernel.org/stable/c/f73b29819c6314c0ba8b7d5892dfb03487424bee No Types Assigned https://git.kernel.org/stable/c/f73b29819c6314c0ba8b7d5892dfb03487424bee Patch Changed Reference Type https://git.kernel.org/stable/c/f73b29819c6314c0ba8b7d5892dfb03487424bee No Types Assigned https://git.kernel.org/stable/c/f73b29819c6314c0ba8b7d5892dfb03487424bee Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/077259f5e777c3c8821f6b41dee709fcda27306b Added Reference https://git.kernel.org/stable/c/1e97743fd180981bef5f01402342bb54bf1c6366 Added Reference https://git.kernel.org/stable/c/5880afefe0cb9b2d5e801816acd58bfe91a96981 Added Reference https://git.kernel.org/stable/c/75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37 Added Reference https://git.kernel.org/stable/c/7b6552719c0ccbbea29dde4be141da54fdb5877e Added Reference https://git.kernel.org/stable/c/9625b00cac6630479c0ff4b9fafa88bee636e1f0 Added Reference https://git.kernel.org/stable/c/a08799d3e8c8088640956237c183f83463c39668 Added Reference https://git.kernel.org/stable/c/f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf Added Reference https://git.kernel.org/stable/c/f73b29819c6314c0ba8b7d5892dfb03487424bee -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 28, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 14, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Feb. 29, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: mtd: require write permissions for locking and badblock ioctls MEMLOCK, MEMUNLOCK and OTPLOCK modify protection bits. Thus require write permission. Depending on the hardware MEMLOCK might even be write-once, e.g. for SPI-NOR flashes with their WP# tied to GND. OTPLOCK is always write-once. MEMSETBADBLOCK modifies the bad block table. Added Reference Linux https://git.kernel.org/stable/c/f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/9625b00cac6630479c0ff4b9fafa88bee636e1f0 [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/f73b29819c6314c0ba8b7d5892dfb03487424bee [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37 [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/5880afefe0cb9b2d5e801816acd58bfe91a96981 [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/7b6552719c0ccbbea29dde4be141da54fdb5877e [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/077259f5e777c3c8821f6b41dee709fcda27306b [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/a08799d3e8c8088640956237c183f83463c39668 [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/1e97743fd180981bef5f01402342bb54bf1c6366 [No types assigned]